package com.city.service.report.impl;/*
 * @Author: 李顺时
 * @Description:
 * @Date: Create in 15:50 2018/9/7
 * @Modified By:
 * */

import com.city.domain.report.CtPartCategorySmall;
import com.city.repository.report.CtPartCategorySmallRepository;
import com.city.service.report.CtPartCategorySmallService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CtPartCategorySmallServiceImpl implements CtPartCategorySmallService {
    @Autowired
    private CtPartCategorySmallRepository categorySmallRepository;

    @Override
    public List<CtPartCategorySmall> findAll() {
        return categorySmallRepository.findAll();
    }

    @Override
    public List<CtPartCategorySmall> findGategoryByBigcode(String bigCode) {
        return categorySmallRepository.findGategoryByBigcode(bigCode);
    }
}
